package com.xjun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xjun.domain.FormtableMain115;
import com.xjun.mapper.FormtableMain115Mapper;
import com.xjun.service.FormtableMain115Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author user
* @description 针对表【formtable_main_115】的数据库操作Service实现
* @createDate 2021-11-18 11:56:11
*/
@Service
public class FormtableMain115ServiceImpl extends ServiceImpl<FormtableMain115Mapper, FormtableMain115>
    implements FormtableMain115Service{

    @Resource
    private FormtableMain115Mapper formtableMain115Mapper;

    @Override
    public FormtableMain115 selectAllById(Integer id) {
        return formtableMain115Mapper.selectAllById(id);
    }

    @Override
    public List<FormtableMain115> selectAllByProposerOrHandlerOrLxOrReworkOrFbillnoOrGdbhOrBegintimeOrHandeltimeOrEndtime(Integer proposer, String handler, Integer lx, Integer rework, String fbillno, String gdbh, String begintime, String handeltime, String endtime) {
        return formtableMain115Mapper.selectAllByProposerOrHandlerOrLxOrReworkOrFbillnoOrGdbhOrBegintimeOrHandeltimeOrEndtime(proposer, handler, lx, rework, fbillno, gdbh, begintime, handeltime, endtime);
    }

    @Override
    public List<FormtableMain115> selectAllBegintime() {
        return formtableMain115Mapper.selectAllBegintime();
    }



}




